.row
  .col-md-12
    .panel.panel-default
      .panel-heading
        | Edit Author
      .panel-body
        = simple_form_for(@book, :url => book_path, html: { class: 'form-vertical' }, wrapper: :vertical_form) do |o|
          = o.input :name, label: 'Book Title'
          = o.button :submit, "Submit"
          = link_to "Cancel", book_path, {:class=>"btn btn-default"}
    .panel.panel-default
      .panel-heading
        | Danger Zone
      .panel-body
        = simple_form_for(@book, :url => book_path, :method => :delete) do |o|
          = o.button :submit, "Destroy", :class => 'btn-danger', :onclick => "return confirm('Are you sure?')"